The separate screencast service has some minimal GTK usage, which
we can trivially move to GTK4.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1591>
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
/* exported ScreencastService */
-imports.gi.versions.Gtk = '3.0';
+imports.gi.versions.Gtk = '4.0';
const { Gio, GLib, Gst, Gtk } = imports.gi;
super(ScreencastIface, '/org/gnome/Shell/Screencast');
Gst.init(null);
- Gtk.init(null);
+ Gtk.init();
this._recorders = new Map();
this._senders = new Map();